__ANDROID_API__ is the API level being targeted. For the OS, this is __ANDROID_API_FUTURE__. For the NDK, this is set by the compiler/build system based on the API level you claimed to target.
See Source File
__ANDROID_API__ is the API level being targeted. For the OS, this is __ANDROID_API_FUTURE__. For the NDK, this is set by the compiler/build system based on the API level you claimed to target.